home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-09-17 | 1.4 KB | 59 lines | [TEXT/MPS ] |
- {
- File: DiskInit.p
-
- Copyright: © 1983-1993 by Apple Computer, Inc.
- All rights reserved.
-
- Version: System 7.1 for ETO #11
- Created: Tuesday, March 30, 1993 18:00
-
- }
-
- {$IFC UNDEFINED UsingIncludes}
- {$SETC UsingIncludes := 0}
- {$ENDC}
-
- {$IFC NOT UsingIncludes}
- UNIT DiskInit;
- INTERFACE
- {$ENDC}
-
- {$IFC UNDEFINED UsingDiskInit}
- {$SETC UsingDiskInit := 1}
-
- {$I+}
- {$SETC DiskInitIncludes := UsingIncludes}
- {$SETC UsingIncludes := 1}
- {$IFC UNDEFINED UsingTypes}
- {$I $$Shell(PInterfaces)Types.p}
- {$ENDC}
- {$SETC UsingIncludes := DiskInitIncludes}
-
- TYPE
- HFSDefaults = RECORD
- sigWord: PACKED ARRAY [0..1] OF Byte; { signature word}
- abSize: LONGINT; { allocation block size in bytes}
- clpSize: LONGINT; { clump size in bytes}
- nxFreeFN: LONGINT; { next free file number}
- btClpSize: LONGINT; { B-Tree clump size in bytes}
- rsrv1: INTEGER; { reserved}
- rsrv2: INTEGER; { reserved}
- rsrv3: INTEGER; { reserved}
- END;
-
-
- PROCEDURE DILoad;
- PROCEDURE DIUnload;
- FUNCTION DIBadMount(where: Point;evtMessage: LONGINT): INTEGER;
- FUNCTION DIFormat(drvNum: INTEGER): OSErr;
- FUNCTION DIVerify(drvNum: INTEGER): OSErr;
- FUNCTION DIZero(drvNum: INTEGER;volName: Str255): OSErr;
-
-
- {$ENDC} { UsingDiskInit }
-
- {$IFC NOT UsingIncludes}
- END.
- {$ENDC}
-
-